// 记录画布的缩放比,全局可用
let scale = 1;

export function setScale(s: number) {
  scale = s;
}
export function getScale() {
  return scale;
}
